/*
 * socketServer.h
 *
 *  Created on: 12.06.2009
 *      Author: Christian Stupp
 */

#ifndef SOCKETSERVER_H_
#define SOCKETSERVER_H_


#include "socketObject.h"
#ifdef __linux__
#include <string.h>
#include <sys/msg.h>
#else
typedef int socklen_t;
#endif

namespace oal{
	class socketServer: public socketObject {
	public:
		virtual ~socketServer();
		socketServer(int port, int connections, TypeSocket type=BlockingSocket);

		socketObject* Accept();
	};
};
#endif /* SOCKETSERVER_H_ */
